package com.echo.code.spring.core;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/04/14
 */
@Setter
@Getter
@ToString
@Component
public class Person {

  @Value("Frank")
  private String name;
  @Autowired
  private Car car;
}
